﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WCS_Entity.Rcs
{
    /// <summary>
    /// RCS接口表
    /// </summary>
    [SugarTable("WCS_RcsAPI", TableDescription = "RcsAPI表")]
    public class RcsApiEntity
    {
        /// <summary>
        /// ID
        /// </summary>
        [Display(Name = "ID")]
        [SugarColumn(ColumnDescription = "ID", IsPrimaryKey = true, IsIdentity = true)]
        [Required(ErrorMessage = "请输入{0}")]
        public System.Int32 id { get; set; }
        /// <summary>
        /// 路由
        /// </summary>
        [Display(Name = "路由")]
        [SugarColumn(ColumnDescription = "路由")]
        public string route { get; set; }
        /// <summary>
        /// 所属RcsID
        /// </summary>
        [Display(Name = "所属RcsID")]
        [SugarColumn(ColumnDescription = "所属RcsID")]
        public int rcsId {  get; set; }
        /// <summary>
        /// Api接口名称
        /// </summary>
        [Display(Name = "接口")]
        [SugarColumn(ColumnDescription = "接口")]
        public string apiName { get; set; }
        /// <summary>
        /// 接口描述
        /// </summary>
        [Display(Name = "接口描述")]
        [SugarColumn(ColumnDescription = "接口描述")]
        public string describe { get; set; }
        /// <summary>
        /// 对应WCS功能名
        /// </summary>
        [Display(Name = "对应WCS功能名")]
        [SugarColumn(ColumnDescription = "对应WCS功能名")]
        public string WCSDomainName { get; set; }
        /// <summary>
        /// 接口类型
        /// </summary>
        [Display(Name = "接口类型")]
        [SugarColumn(ColumnDescription = "接口类型")]
        public string type { get; set; }
        /// <summary>
        /// 预留字段1
        /// </summary>
        [SugarColumn(ColumnName = "EXTEND1")]
        public string Extend1 { get; set; }

        /// <summary>
        /// 预留字段2
        /// </summary>
        [SugarColumn(ColumnName = "EXTEND2")]
        public string Extend2 { get; set; }

        /// <summary>
        /// 预留字段3
        /// </summary>
        [SugarColumn(ColumnName = "EXTEND3")]
        public string Extend3 { get; set; }

        /// <summary>
        /// 预留字段4
        /// </summary>
        [SugarColumn(ColumnName = "EXTEND4")]
        public string Extend4 { get; set; }

        /// <summary>
        /// 预留字段5
        /// </summary>
        [SugarColumn(ColumnName = "EXTEND5")]
        public string Extend5 { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        [Display(Name = "创建时间")]
        [SugarColumn(ColumnDescription = "创建时间")]
        [Required(ErrorMessage = "请输入{0}")]
        public System.DateTime createTime { get; set; }
        /// <summary>
        /// 更新时间
        /// </summary>
        [Display(Name = "更新时间")]
        [SugarColumn(ColumnDescription = "更新时间", IsNullable = true)]
        public System.DateTime? updataTime { get; set; }
    }
}
